package cn.com.b2office.service.impl;

import cn.com.b2office.dao.UserDao;
import cn.com.b2office.domain.User;
import cn.com.b2office.service.UserService;

public class UserServiceImpl implements UserService {
	
	private UserDao userDao=null;
	

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

	public User loginByEmail(String email, String regPwd) {
		return userDao.loginByEmail(email, regPwd);
	}

	public User loginByMemberno(String memberno, String telPwd) {
		return userDao.loginByMemberno(memberno, telPwd);
	}

	public User loginByMobile(String mobile, String regPwd) {
		return userDao.loginByMobile(mobile, regPwd);
	}

	public User loginByRegName(String regName, String regPwd) {
		return userDao.loginByRegName(regName, regPwd);
	}

}
